package com.virtium.vpc.dao;

import java.util.List;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.hibernate.LockMode;
import org.hibernate.Query;
import org.hibernate.criterion.Example;

import com.virtium.vpc.hibernate.model.VpcRamdensity;

/**
 * A data access object (DAO) providing persistence and search support for
 * VpcRamdensity entities. Transaction control of the save(), update() and
 * delete() operations can directly support Spring container-managed
 * transactions or they can be augmented to handle user-managed Spring
 * transactions. Each of these methods provides additional information for how
 * to configure it for the desired type of transaction control.
 * 
 * @see aa.VpcRamdensity
 * @author NguyenTuanAnh AnhNguyen@viritum.com
 */

public interface VpcRamdensityDAO extends GenericDAO {

	public void save(VpcRamdensity transientInstance);

	public void delete(VpcRamdensity persistentInstance);

	public VpcRamdensity findById(java.lang.Integer id);

	public List findByExample(VpcRamdensity instance);

	public List findByProperty(String propertyName, Object value);

	public List findByText(Object text);

	public List findAll();

	public VpcRamdensity merge(VpcRamdensity detachedInstance);

	public void attachDirty(VpcRamdensity instance);

	public void attachClean(VpcRamdensity instance);
}